package com.zzjson.crud.dao;

import com.zzjson.crud.bean.Employee;

import java.util.HashMap;
import java.util.List;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.crud.dao</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年07月09日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public interface EmployeeMapper {
	int deleteByPrimaryKey(Integer empId);

	int insert(Employee record);

	int updateBatch(List<Employee> list);

	int insertSelective(Employee record);

	int batchInsert(List<Employee> list);

	Employee selectByPrimaryKey(Integer empId);

	int updateByPrimaryKeySelective(Employee record);

	int updateByPrimaryKey(Employee record);

	void deleteByList(List<Integer> ids);

	long countByMap(HashMap<String, String> map);

	List<Employee> selectByMap(HashMap<String, Object> map);
}